package cn.itcast.dao;

import cn.itcast.domain.Permission;

import java.util.List;

public interface PermissionMapper {

    void insertPermission(Permission permission);

    List<Permission> findPermissionByPage(String queryString);

    void deleteRolePermissionId(Integer id);

    void deletePermission(Integer id);

    Permission findPermissionById(Integer id);

    void updatePermission(Permission permission);

    List<Permission> findAllPermissions();
}
